<script setup>
import NoResult from '../../components/NoResult.vue'
import {useRouter} from 'vue-router'
const router = useRouter()
const goback = ()=>{
  router.go(-1)
}
</script>

<template>
<div>
  <NoResult content="你访问的页面不存在"/>
  <div class="flex-center">
    <van-button type="primary" block size="small" @click="goback">返回</van-button>
  </div>
</div>
</template>

<style lang="scss" scoped>
.flex-center{
  display:flex;
  justify-content: center;
  margin: 16px;
}
</style>